@extends('frontend/layouts/default')
@section('title')
$data['dictionary']->title -Chi tiết từ điển
@endsection
@section('header2')
<div class="menu-second">
    @include('frontend/dictionary/partials/menu_second')
</div>
</div>    
@endsection
@section('content')
<!--content left-->
<div class="column-left">
    <!--menu-->
    @include('frontend/dictionary/partials/content_left')
    <!--menu end-->
</div>
<!--end content left-->
<!--content right-->
<div class="width928 MgL10 FL">
    @include('frontend/dictionary/partials/search')
    <div class="MgT20">
        <div class="title">
            <label>Từ : {{$data['dictionary']->title}}</label>
        </div>
        <div class="MgL5">
            <div>
                <ol class="breadcrumb">
                    <span class="font18" style="background-color: #f5f5f5">Danh mục:&nbsp;</span>
                    @for($i = count($data['listparent']) - 1; $i >= 0; $i--)
                    @if($i == count($data['listparent']) - 1)
                    <li style="
                        font-size: 15px;
                        "><a href="{{route('tu-dien-danh-muc',array('id'=>$data['listparent'][$i]->id))}}" style=" color: #0088cc;">{{ucwords($data['listparent'][$i]->title)}}</a></li>
                    @elseif ($i == 0)
                    <li class="active" style="
                        font-size: 13px;
                        "> {{ucwords($data['listparent'][$i]->title)}}</li>
                    @else
                    <li style="
                        font-size: 15px;
                        "><a href="{{route('tu-dien-danh-muc',array('id'=>$data['listparent'][$i]->id))}}" style=" color: #0088cc;">{{ucwords($data['listparent'][$i]->title)}} </a></li>
                    @endif
                    @endfor
                </ol>
            </div>
            <div class="MgT15">
                <div class="title-2 font18">Khái niệm</div>

                <div class="box-infor-clip MgTB20">
                    <?= $data['dictionary']->description ?>
                    <!--        <a href="#" class="btn-view-more">Xem thêm</a>-->
                </div>
            </div>
        </div>
    </div>
</div>
<!--end content right-->

<br><br><br><br><br><br><br><br><br><br>
@stop